from django.contrib import admin
from .models import UserInformation


@admin.register(UserInformation)
class UserInformationAdmin(admin.ModelAdmin):
    list_display = [
        "user_nick",
        "ali_id",
        "aliyun_pk",
        "real_name_type",
        "user_type",
        "init_user_type",
        "gmt_start",
        "gmt_end",
        "total_pay_amount",
        "created_at",
        "updated_at",
    ]
    list_filter = ['user_nick']
    search_fields = ['user_type']

